{% extends "forum/frame.html" %}
{% load i18n %} 
{% load ytutil %}

{% block description %}
  <meta name="description" content="{% for post in posts %}{{ post.title }}, {% endfor %}">
{% endblock %}

{% block content %}

  <div id="forum_nav">
  <a class="forum_link" href="{% url ytcommunity.forum.view.board.list %}">{% trans 'Homepage' %}</a>
  </div>

<table class="forum" cellspacing="1">
  <thead>
    <tr>
      <td class="forum_title" style="border-left: 1px solid white;width:70%;">{% trans 'Posts' %}</td>
      <td class="forum_title" style="width: 15%;">{% trans 'Author' %}</td>
      <td class="forum_title" style="width: 15%; border-right: 1px solid white;">{% trans 'Time'%}</td>
    </tr>
  </thead>
  <tbody>
    
    {% for post in posts %}
  <tr>
  <td class="forum_body">
    <a href="{% url ytcommunity.forum.view.post.display id=post.key.id %}">{{ post.title|escape }}</a>    
  </td>
  <td class="forum_body_center">{{ post.author.ga }}</td>
  <td class="forum_body_center">
    {{ post.update|timedelta|date:"Y-m-d H:i" }}
  </td>
  </tr>
    {% endfor %}

  </tbody>
  
</table>
  
  {% include "forum/div_pagination.html" %}
  
{% endblock %}
